package com.lanxiao.cloud.user.api.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：qiaoliang
 * @date ：2021-09-13
 */
public class LoginInfoDubboUpdate implements Serializable {

  private final Long id;

  private final String loginIp;

  private final Date loginTime;

  public LoginInfoDubboUpdate(Long id, String loginIp) {
    this.id = id;
    this.loginIp = loginIp;
    this.loginTime = new Date();
  }

  public Long getId() {
    return id;
  }

  public String getLoginIp() {
    return loginIp;
  }

  public Date getLoginTime() {
    return loginTime;
  }

}
